﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{   
    [Serializable]
    public class Event {
        private int id;
        private string title;
        private string area;
        private string unit;
     //   private string key;
        private string desc;
        private string reason;
        private string advice;

        public Event() {
        }

        public Event(int id, string title, string area, string unit, string desc, string reason, string advice) {
            this.id = id;
            this.title = title;
            this.area = area;
            this.unit = unit;
          //  this.key = key;
            this.desc = desc;
            this.reason = reason;
            this.advice = advice;
        }

        public int Id {
            get { return id; }
            set { id = value; }
        }

        public string Title {
            get { return title; }
            set { title = value; }
        }

        public string Area {
            get { return area; }
            set { area = value; }
        }

        public string Unit {
            get { return unit; }
            set { unit = value; }
        }

//        public string Key {
//            get { return key; }
//            set { key = value; }
//        }

        public string Desc {
            get { return desc; }
            set { desc = value; }
        }

        public string Reason {
            get { return reason; }
            set { reason = value; }
        }

        public string Advice {
            get { return advice; }
            set { advice = value; }
        }
    }
}
